package vno.fux.ui
{
	import flash.media.SoundChannel;
	
	import vno.fux.BasePoint;
	import vno.fux.res.pool.ResourcePool;
	import vno.fux.res.pool.SoundResource;
	import vno.fux.res.pool.SoundTarget;

	public class PicButtonModel extends BaseComponentModel
	{
		private var _soundChannel:SoundChannel;
		private var _soundSource:SoundTarget;
		public function PicButtonModel(opts:Object)
		{
			super(opts);
			this.pos = new BasePoint(40,40);
			_soundSource = (ResourcePool.getInstance().sndRes.getRes(0) as SoundResource).bgm;
		}
		public function get soundChannel():SoundChannel
		{
			return _soundChannel;
		}
		public function set soundChannel(value:SoundChannel):void
		{
			_soundChannel = value;
		}

		public function get soundSource():SoundTarget
		{
			return _soundSource;
		}

		public function set soundSource(value:SoundTarget):void
		{
			_soundSource = value;
		}

	}
}
